package com.meantodo.demo.domain;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NonNull;

import java.time.LocalTime;

/**
 * @Author: tongqianwen
 * @Date: 2025/5/27
 */
@Data
public class Goal {
    private Integer id;
    @NotBlank(message = "goal name is required")
    @Size(min=1, message = "goal name must have content")
    private String name;

    private LocalTime alertTime;
}
